using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class AppSharetj {

		/// <summary>
		/// 被介绍人手机号
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string bjsrsjh { get; set; }

		/// <summary>
		/// 报名人id
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string bmrid { get; set; }

		/// <summary>
		/// 一级分享人
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string firstid { get; set; }

		/// <summary>
		/// 一级介绍人 类型 0 教练及驾校管理人员 1 已毕业学员
		/// </summary>
		[JsonProperty]
		public int? firsttype { get; set; }

		[JsonProperty, Column(IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string rq { get; set; }

		/// <summary>
		/// 二级分享人id
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string secondid { get; set; }

		/// <summary>
		/// 是否报名完成 0未完成 1 已报名
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int? sfbmwc { get; set; } = 0;

		/// <summary>
		/// 是否缴费 0未缴费 1 完成缴费
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int? sfjf { get; set; } = 0;

		/// <summary>
		/// 是否结业 0 未结业 1 已结业
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int sfjy { get; set; } = 0;

		/// <summary>
		/// 是否退学 -1 已退学 
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int? sftx { get; set; } = 0;

	}

}
